package com.config;/*
 *
 *作者：张继成
 *任务：配置一些插件
 *
 *备注：Mybatis-plus配置
 *@Date2023/06/04/11:55
 ***/
import com.baomidou.mybatisplus.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


@Configuration
public class MybatisPlusConfig {
    //分页拦截器
    @Bean
    public PaginationInterceptor paginationInterceptor(){
        return new PaginationInterceptor();
    }

}
